﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hydrogen.Cmd.Interfaces
{
    /// <summary>
    /// 命令的接口
    /// </summary>
    public interface ICommand
    {
        /// <summary>
        /// 触发命令
        /// </summary>
        /// <param name="args">参数。[0]命令的flag，[1~]参数，具体看命令的定义</param>
        void Invoke(params string[] args);
    }
}
